package hibernate;

/**
 * Teacher2student entity. @author MyEclipse Persistence Tools
 */

public class Teacher2student implements java.io.Serializable {

	// Fields

	private Teacher2studentId id;

	// Constructors

	/** default constructor */
	public Teacher2student() {
	}

	/** full constructor */
	public Teacher2student(Teacher2studentId id) {
		this.id = id;
	}

	// Property accessors

	public Teacher2studentId getId() {
		return this.id;
	}

	public void setId(Teacher2studentId id) {
		this.id = id;
	}

}